package com.smart.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smart.pojo.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smart.req.ProductReq;
import com.smart.resp.EchartsData;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyj
 * @since 2023-05-13
 */
public interface IProductService extends IService<Product> {

    void queryByCondition(ProductReq productReq, Page<Product> page);

    boolean saveOrUpdateProduct(Product product);

    boolean deleteById(Long id);

    List<Product> queryNotProducePlan();

    List<EchartsData> getInventoryData();
}
